var panel_tpl = '<script type="text/mustache-template" id="panel_tpl">'+
		    	'<div class="panel" id="{{pageId}}" title="{{pageTitle}}" iscroll="true" data-header="{{headerId}}">'+
		        '<div class="scroll-inner">'+
		        '{{>header}}'+
		        '<span id="errorMsg" class="validation-summary-errors">{{errorMessage}}</span>'+
		        '{{>pageContent}}'+
		        '</div></div></script>';
var actionPanel = '<script type="text/mustache-template" id="action_panel_tpl">'+
				  '<div class="operateBar" style="display: none;">'+
				  '<div class="divAlignCenter">'+
				  '{{#actions}}'+
				  '<div class="operateBtn">'+
				  '<a class="{{action}}">{{text}}</a></div>'+
				  '{{/actions}}</div></div></script>';
var processBar = '<script type="text/mustache-template" id="process_bar_tpl">'+
'<div class="UpdateProgressBar" id="__progressbar__" style="display: none;">'+
        '<div id="UpdateProgressBarInner" runat="server">'+
            '<table style="width: 100%; height: 100%;" cellpadding="0" cellspacing="0">'+
                '<tr>'+
                    '<td valign="middle" align="center" style="border-color: transparent;">'+
                        '<img alt="" id="UpdateProgressBarInnerImg" runat="server" src="/Content/Images/loading.gif"'+
                            'style="vertical-align: middle;" />&nbsp;<span style="color: white; font-size: 12pt;'+
                                'vertical-align: middle;">Loading...</span>'+
                    '</td></tr></table></div></div></script>';
var panelContent_tpl = '<script type="text/mustache-template" id="panel_content_tpl">'+
'<div id="{{innerDivId}}"></div></script>';

var header_tpl = '<script type="text/mustache-template" id="header_tpl">'+
    '<header id="{{headerId}}"><h1>{{pageTitle}}</h1>{{#menuTitle}}'+
    '<div class="menu_header"><h3>{{{menuTitle}}}</h3></div>'+
    '{{/menuTitle}}{{#back}}<a class="ui-button ui-button-left ui-button-back light">'+
    '<span class="ui-icon-text">返回</span><span class="ui-icon-arrow-l ui-icon ui-icon-left"></span>'+
    '</a>{{/back}}{{#logout}}<a class="ui-button ui-button-right logout light">'+
    '<img src="/Content/Images/icon_logout.png"/></a>{{/logout}}{{#action}}'+
    '<a class="ui-button ui-button-right ui-button-action light"><img src="/Content/Images/icon_more.png"/>'+
    '</a>{{/action}}</header></script>';